getSuggestions

open override fun getSuggestions(input: String, cursor: Int, choiceValidator: ChoiceValidator<String>): CompletableFuture<Suggestions>

Returns Suggestions based on the allowable string list and a choice validator

Return

CompletableFuture of Suggestions to derive a list of suggestion names from

Author

fzzyhmstrs

Since

0.2.6

Parameters

input

String - the current string input to filter suggestions off of

cursor

Int - the index of the typing cursor in the string

choiceValidator

ChoiceValidator - additional option filtering provided externally.